<tmpl_if name="is_logged_in">
  <tr>
    <td class="menu_background">&nbsp;</td>
    <td class="menu_background">
        <table width="800" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="128" align="center"><a href="{tmpl_var name='index_location'}" class="menu_item">Home</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='ucp_location'}" class="menu_item">User CP</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='faqs_location'}" class="menu_item">FAQ</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='rules_location'}" class="menu_item">Rules</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='memberlist_location'}" class="menu_item">Members List</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='calendar_location'}" class="menu_item">Calendar</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='search_location'}" class="menu_item">Search</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='logout_location'}" class="menu_item">Logout</a></td>
          </tr>
        </table>
    </td>
    <td class="menu_background">&nbsp;</td>
  </tr>
</tmpl_else>
  <tr>
    <td class="menu_background">&nbsp;</td>
    <td class="menu_background">
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="128" align="center"><a href="{tmpl_var name='index_location'}" class="menu_item">Home</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='faqs_location'}" class="menu_item">FAQ</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='rules_location'}" class="menu_item">Rules</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='memberlist_location'}" class="menu_item">Members List</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='calendar_location'}" class="menu_item">Calendar</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='search_location'}" class="menu_item">Search</a></td>
            <td width="128" align="center"><a href="{tmpl_var name='login_location'}" class="menu_item">Login</a></td>
          </tr>
        </table>
    </td>
    <td class="menu_background">&nbsp;</td>
  </tr>
</tmpl_if>